package com.care;

import java.util.List;

public class CareOrder {


    public static void main(String[] args) {
        String str="2212973,2017781,2218364,2201087,2234240,2217789,2206773,2028720,2089075,2205801,1158289,1823888,2235006,1638306,2201090,1502132,2068316,1155694,1620233,2193097,1980525,2201088,2206760,2215525";

        String[] ss = str.split(",");

        String sx="1155694,1158289,1502132,1620233,1638306,1823888,1980525,2017781,2028720,2068316,2089075,2193097,2201087,2201088,2201090,2205801,2206760,2206773,2212973,2215525,2217789,2218364,2234240";

        String[] sxs=sx.split(",");

        for(String a:ss){

            boolean flag =false;
            for(String b:sxs){
                if(a.equals(b)){
                    flag =true;
                    break;
                }
            }

            if(!flag){
                System.out.println(a);
            }
        }


        System.out.println(ss.length);
    }
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 订单列表
     */
    private List<CarefullOrderInfo> orders;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public List<CarefullOrderInfo> getOrders() {
        return orders;
    }

    public void setOrders(List<CarefullOrderInfo> orders) {
        this.orders = orders;
    }
}
